package com.chezhujie.www.domain;

import com.sys.core.init.mysql.BaseEntity;
import com.sys.core.init.mysql.annotation.Column;
import com.sys.core.init.mysql.annotation.Entity;
import com.sys.core.init.mysql.annotation.Id;
import com.sys.core.init.mysql.annotation.Table;

/**
 * Created by 汤伟杰 on 2017/5/31.
 */
@Entity
@Table(name="czj_city",describe = "城市")
public class Czjcity extends BaseEntity{
    @Id
    @Column(describe = "主键",inputType = "hidden")
    private Integer id;
    @Column(describe = "行政代号",inputType = "int")
    private Integer cityID;
    @Column(describe = "城市",inputType = "text")
    private String city;
    @Column(describe = "省份",inputType = "select",inputCode = "int")
    private Integer fatherID;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCityID() {
        return cityID;
    }

    public void setCityID(Integer cityID) {
        this.cityID = cityID;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Integer getFatherID() {
        return fatherID;
    }

    public void setFatherID(Integer fatherID) {
        this.fatherID = fatherID;
    }
}
